Skip to content

Instantly share code, notes, and snippets.

@zhuziyi1989
zhuziyi1989 / URL Schemes.md
Last active January 23, 2026 00:28
iOS 系统上常用的 URL Schemes 收集

** 由于此文年事已久,可能某些 URL Schemes 已失效,可在评论区留言指出!(最后更新于 2024.10.28)

关于 URL Scheme 你知道多少?

iOS 系统中

由于苹果的各应用都是在沙盒中,不能够互相之间访问或共享数据。但是苹果还是给出了一个可以在 APP 之间跳转的方法:URL Scheme。简单的说,URL Scheme 就是一个可以让 APP 相互之间可以跳转的协议。每个 APP 的 URL Scheme 都是不一样的,如果存在一样的 URL Scheme,那么系统就会响应先安装那个 APP 的 URL Scheme,因为后安装的 APP 的 URL Scheme 被覆盖掉了,是不能被调用的。

Android 系统中

@SilenNaihin
SilenNaihin / transfer-context.md
Created January 13, 2026 22:45
Claude Code: Transfer Context command for new chat sessions

Transfer Context

Prepare context for a new chat session when this one is degraded or hitting limits.

Output Format

## Context Transfer

### Summary
@kskmori
kskmori / index.md
Last active January 23, 2026 00:24 — forked from t3yamoto/index.md
Boxで開いているフォルダをBoxDriveで開きたい時に便利なブックマークレット(Windows用)

Boxで開いているフォルダをBoxDriveで開きたい時に便利なブックマークレット(Windows用)

ブラウザでBoxのフォルダを開いている時に、当該フォルダをBoxDrive(Windows Explorer)で開きたくなることがある。そんな時にこのブックマークレットを使用すれば、いい感じにパスをコピーできる。

以下で公開されているブックマークレットを元に修正したもの。

修正履歴

2025/11/12

  • Box 仕様変更に追随 (すべてのファイル → ファイル)
@Adrian-LL
Adrian-LL / VSC-Part1.md
Last active January 23, 2026 00:24
Using Visual Studio Code for C++ (Part 1 - Windows, MSYS / MinGW)

Installing and using Visual Studio Code and g++ (plus other tools) for (re)learning programming (and some entertainment purposes) - Part 1 - Windows 10

Recently (actually not so recent...) I wanted to refresh my programming (and logical) skills. So I thought to try some available tools. I was not looking for professional tools, but for something - such an IDE - easy to use, ideally with a lot of help included. (still longing for something like the almost forgotten Turbo C and Turbo Pascal.)

I tried (and still using somewhat) CodeBlocks (http://www.codeblocks.org/ - works on Linux, Windows, MacOS). For educational purposes it is very simple to setup, one have to just download and install the version that contains the mingw tools. More details on their site. It is also easy to use, almost straightforward. Nonetheless, it can also deal with bigger projects.

I also tried NetBeans (https://netbeans.org/ - also working in Linux, Windows and MacOS) and DevC++ (https://sourceforge.net/projects/orwel

@SilenNaihin
SilenNaihin / refactor.md
Created January 15, 2026 09:44
Claude Code: Refactor command for code quality cleanup with jscpd, knip, and code-simplifier

Refactor

You are doing a focused refactoring session. This is a distinct phase, not continuous activity.

Step 1: Run Quality Checks

First, check if jscpd and knip are installed. If not, install them:

npm install -D jscpd knip
@tsukumijima
tsukumijima / 7-zip-zstandard-default-extract.reg
Last active January 23, 2026 00:13
7-Zip ZS (Zstandard 対応版) を使い .zip や .7z などをダブルクリックで解凍できるようにするレジストリ設定ファイル (ref: https://gist.github.com/zabbarob/5891200)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT]
[HKEY_CLASSES_ROOT\7-Zip-Zstandard.001]
@="001 Archive"
[HKEY_CLASSES_ROOT\7-Zip-Zstandard.001\DefaultIcon]
@="C:\\Program Files\\7-Zip-Zstandard\\7z.dll,9"
@TJReinert
TJReinert / nvidia-cache-another-drive.md
Last active January 23, 2026 00:05
Link NVidia cache to another drive

Uninstall Nvidia Experience.

Clear out drive's local NVIDIA folder where NVIDIA will be installed. C:\Users${USERNAME}\AppData\Local\NVIDIA

Make folder in other drive. I named mine NVIDIA_CACHE

Make junction. mklink /J C:\Users${USERNAME}\AppData\Local\NVIDIA

@plembo
plembo / ghpwithnamecheap.md
Last active January 23, 2026 00:05
GitHub Pages with Namecheap custom domain

Using GitHub Pages with a custom domain: Namecheap Edition

As often happens, I found the official documentation and forum answers to be "close, but no cigar", and so had to experiment a little to get things working.

The main problem for me was a lack of concrete configuration examples. That's not entirely GitHub's fault: having migrated from Google Domains to Namecheap in the middle of this project, I was once again reminded of how many different ways there are to do things in the name service universe [1].

Although you'd think the simplest setup would be to merely configure for the subdomain case (https://www.example.com), in my experience using the apex domain (https://example.com) instead resulted in fewer complications.

Procedure

So here's my recipe for using a custom domain with GitHub pages where Namecheap is the DNS provider:

╭─── Claude Code v2.1.12 ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ │ Tips for getting started │
│ Welcome back Jonny! │ Run /init to create a CLAUDE.md file with instructions for Claude │
│ │ │
│ │ ───────────────────────────────────────────────────────────────── │
│ ▐▛███▜▌ │ Recent activity
@Myndex
Myndex / GitHubFlavoredMarkdown.md
Last active January 22, 2026 23:53 — forked from joshuapekera/markdown
GitHub Flavored Markdown Cheat Sheet